require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")

platform :ios, '13.0'
prepare_react_native_project!

pod 'AMap3DMap'

target 'app' do
  use_expo_modules!
  post_integrate do |installer|
    begin
      expo_patch_react_imports!(installer)
    rescue => e
      Pod::UI.warn e
    end
  end
  use_frameworks! :linkage => :static
  use_react_native!(
    :path => File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts"),
    :hermes_enabled => true
  )
end 